﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Xml.Serialization;

namespace P2P_Backup
{    
    public abstract class Peer
    {
        [XmlIgnore]
        public IPAddress IpAddress;
        public String Hostname;
        [XmlIgnore]
        public long FreeBackupSpace;

        public override string ToString()
        {
            //return String.Format("{0} on {1}",Hostname, IpAddress);
            return Hostname;
        }
    }
}
